package com.company.project.service;
import com.company.project.model.PeriodicalsCategory;
import com.company.project.core.Service;
import com.company.project.util.PageUtil;

import java.util.List;
import java.util.Map;


/**
 * Created by CodeGenerator on 2018/10/10.
 */
public interface PeriodicalsCategoryService extends Service<PeriodicalsCategory> {
    List<PeriodicalsCategory> getPeriodicalsCategoryByParent(Integer parent);


    /**
     * 后台查询期刊专业
     */
    PageUtil<Map<Object,Object>> adminSelectPc(Integer index);
    /**
     * 后台查询期刊专业数量
     */
    Integer PCNum();
    /**
     * 后台修改期刊专业
     *
     */
    Boolean adminUpPc(PeriodicalsCategory periodicalsCategory);
    List<PeriodicalsCategory> stair();

    /**
     * 后台添加期刊专业
     */
    Boolean adminAddPc(PeriodicalsCategory periodicalsCategory);

    /**
     * 后台删除期刊专业
     */
    Boolean adminDelPc(PeriodicalsCategory periodicalsCategory);

    //后台添加期刊获取期刊专业
    List<PeriodicalsCategory> adminGetPcP();
}
